From da191d13deaf4401bc10b7efbbcae126ceca93a3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 16 Jun 2006 03:40:47 +0000 Subject: [PATCH] make print-to-pdf show up again --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkprintoperation-unix.c | 6 ++++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcae612ba8..538e8f4d95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-15 Matthias Clasen + + * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability + when creating a print dialog. (noted by Yevgen Muntyan) + 2006-06-15 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_motion_notify): use diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fcae612ba8..538e8f4d95 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-06-15 Matthias Clasen + + * gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability + when creating a print dialog. (noted by Yevgen Muntyan) + 2006-06-15 Carlos Garnacho * gtk/gtknotebook.c (gtk_notebook_motion_notify): use diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 15338564a0..7ae019989e 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -1,5 +1,6 @@ /* GTK - The GIMP Toolkit - * gtkprintoperation-unix.c: Print Operation Details for Unix and Unix like platforms + * gtkprintoperation-unix.c: Print Operation Details for Unix + * and Unix-like platforms * Copyright (C) 2006, Red Hat, Inc. * * This library is free software; you can redistribute it and/or @@ -313,7 +314,8 @@ get_print_dialog (GtkPrintOperation *op, GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE | GTK_PRINT_CAPABILITY_REVERSE | - GTK_PRINT_CAPABILITY_SCALE); + GTK_PRINT_CAPABILITY_SCALE | + GTK_PRINT_CAPABILITY_GENERATE_PDF); if (priv->print_settings) gtk_print_unix_dialog_set_settings (GTK_PRINT_UNIX_DIALOG (pd), -- 2.30.2